1 module directx.d2dbasetypes; 2 //--------------------------------------------------------------------------- 3 // Copyright (c) Microsoft Corporation. All rights reserved. 4 // 5 // This file is automatically generated. Please do not edit it directly. 6 // 7 // File name: D2DBaseTypes.h 8 //--------------------------------------------------------------------------- 9 10 version(Windows): 11 12 version(Direct2D_1_3) 13 version = Direct2D_1_2; 14 version(Direct2D_1_2) 15 version = Direct2D_1_1; 16 version(Direct2D_1_1): 17 version = Direct2D_1_0; 18 19 version(Direct2D_1_0): 20 21 public import directx.dxgitype; 22 public import directx.d3dcommon; 23 24 //+----------------------------------------------------------------------------- 25 // 26 // Struct: 27 // D2D_POINT_2U 28 // 29 //------------------------------------------------------------------------------ 30 struct D2D_POINT_2U 31 { 32 this(this) {} 33 UINT32 x; 34 UINT32 y; 35 } 36 37 38 //+----------------------------------------------------------------------------- 39 // 40 // Struct: 41 // D2D_POINT_2F 42 // 43 //------------------------------------------------------------------------------ 44 struct D2D_POINT_2F 45 { 46 this(this) {} 47 FLOAT x; 48 FLOAT y; 49 } 50 51 alias D2D_POINT_2L = POINT; 52 53 //+----------------------------------------------------------------------------- 54 // 55 // Struct: 56 // D2D_VECTOR_2F 57 // 58 //------------------------------------------------------------------------------ 59 struct D2D_VECTOR_2F 60 { 61 this(this) {} 62 FLOAT x; 63 FLOAT y; 64 } 65 66 67 //+----------------------------------------------------------------------------- 68 // 69 // Struct: 70 // D2D_VECTOR_3F 71 // 72 //------------------------------------------------------------------------------ 73 struct D2D_VECTOR_3F 74 { 75 this(this) {} 76 FLOAT x; 77 FLOAT y; 78 FLOAT z; 79 } 80 81 82 //+----------------------------------------------------------------------------- 83 // 84 // Struct: 85 // D2D_VECTOR_4F 86 // 87 //------------------------------------------------------------------------------ 88 struct D2D_VECTOR_4F 89 { 90 this(this) {} 91 FLOAT x; 92 FLOAT y; 93 FLOAT z; 94 FLOAT w; 95 } 96 97 98 //+----------------------------------------------------------------------------- 99 // 100 // Struct: 101 // D2D_RECT_F 102 // 103 //------------------------------------------------------------------------------ 104 struct D2D_RECT_F 105 { 106 this(this) {} 107 FLOAT left; 108 FLOAT top; 109 FLOAT right; 110 FLOAT bottom; 111 } 112 113 114 //+----------------------------------------------------------------------------- 115 // 116 // Struct: 117 // D2D_RECT_U 118 // 119 //------------------------------------------------------------------------------ 120 struct D2D_RECT_U 121 { 122 this(this) {} 123 UINT32 left; 124 UINT32 top; 125 UINT32 right; 126 UINT32 bottom; 127 128 } 129 130 alias D2D_RECT_L = RECT; 131 132 //+----------------------------------------------------------------------------- 133 // 134 // Struct: 135 // D2D_SIZE_F 136 // 137 //------------------------------------------------------------------------------ 138 struct D2D_SIZE_F 139 { 140 this(this) {} 141 FLOAT width; 142 FLOAT height; 143 } 144 145 146 //+----------------------------------------------------------------------------- 147 // 148 // Struct: 149 // D2D_SIZE_U 150 // 151 //------------------------------------------------------------------------------ 152 struct D2D_SIZE_U 153 { 154 this(this) {} 155 UINT32 width; 156 UINT32 height; 157 } 158 159 alias D2D_COLOR_F = D3DCOLORVALUE; 160 161 //+----------------------------------------------------------------------------- 162 // 163 // Struct: 164 // D2D_MATRIX_3X2_F 165 // 166 //------------------------------------------------------------------------------ 167 struct D2D_MATRIX_3X2_F 168 { 169 FLOAT _11; 170 FLOAT _12; 171 FLOAT _21; 172 FLOAT _22; 173 FLOAT _31; 174 FLOAT _32; 175 176 } 177 178 179 //+----------------------------------------------------------------------------- 180 // 181 // Struct: 182 // D2D_MATRIX_4X3_F 183 // 184 //------------------------------------------------------------------------------ 185 struct D2D_MATRIX_4X3_F 186 { 187 union 188 { 189 struct 190 { 191 FLOAT _11, _12, _13; 192 FLOAT _21, _22, _23; 193 FLOAT _31, _32, _33; 194 FLOAT _41, _42, _43; 195 } 196 197 FLOAT[4][3] m; 198 }; 199 } 200 201 202 //+----------------------------------------------------------------------------- 203 // 204 // Struct: 205 // D2D_MATRIX_4X4_F 206 // 207 //------------------------------------------------------------------------------ 208 struct D2D_MATRIX_4X4_F 209 { 210 211 union 212 { 213 struct 214 { 215 FLOAT _11, _12, _13, _14; 216 FLOAT _21, _22, _23, _24; 217 FLOAT _31, _32, _33, _34; 218 FLOAT _41, _42, _43, _44; 219 220 } 221 222 FLOAT[4][4] m; 223 } 224 } 225 226 227 //+----------------------------------------------------------------------------- 228 // 229 // Struct: 230 // D2D_MATRIX_5X4_F 231 // 232 //------------------------------------------------------------------------------ 233 struct D2D_MATRIX_5X4_F 234 { 235 union 236 { 237 struct 238 { 239 FLOAT _11, _12, _13, _14; 240 FLOAT _21, _22, _23, _24; 241 FLOAT _31, _32, _33, _34; 242 FLOAT _41, _42, _43, _44; 243 FLOAT _51, _52, _53, _54; 244 245 } 246 247 FLOAT[5][4] m; 248 } 249 }